package com.qidian.md.mapper;

import com.qidian.mes.pojo.md.Client;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClientMapper {
    List<Client> selectByPage(@Param("client")Client client, @Param("start") Integer start, @Param("limit") Integer limit);

    Integer selectCount(Client client);

    int addClient( Client client);

//    Client selectByClientname(String clientName);

    /**
     * 根据输入的id查询客户
     * @param clientId
     * @return
     */
    Client selectById(Long clientId);
    /**
     * 修改数据更新
     * @param client
     * @return
     */
    Integer update(Client client);


    Integer deleteUpdateStatus(Long clientId);

    Integer deleteUpdateSelect(Long[] clientId);


}
